/**
 * Project: ameba.dal
 * 
 * File Created at 2015年12月28日
 * $Id$
 * 
 * Copyright 2015 dface.cn Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * dface Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with www.dface.cn
 */
package cn.dface.ameba.dal.dao;

import java.util.List;

/**
 * CrudDAO
 * @author LVZY
 *
 */
public interface CrudDAO<E> {

    public void create(E entity);
    
    public List<E> retrive();
    
    public E retriveById(Integer id);
    
    public void update(E entity);
    
    public void delete(Integer id);
}
